package com.niodata.dp.task;

import com.niodata.dp.task.entity.PackageDefaultParams;
import com.niodata.dp.task.entity.PackageOutParams;
import com.niodata.dp.task.entity.PackageParams;
import java.util.Date;

public class JobPlugin {

  public static final String PKG_ETL = "ETL";
  public static final String PKG_FilePipe = "FilePipe";
  public static final String PKG_CustomPkg = "CustomPkg";
  public static final String JOB_TYPE_SPARK = "spark";
  public static final String JOB_TYPE_COMMAND = "command";
  public static final String JOB_TYPE_JAVA = "java";
  public static final String JOB_TYPE_HADOOPJAVA = "hadppJava";
  private int id;
  private long groupId;
  private String groupName;
  private String version;
  private String name;
  private String pkgType;
  private String pkgLang;
  private String jobType;
  private String creator;
  private String pkgPath;
  private String description;
  private PackageParams params;
  private PackageOutParams outParams;
  private PackageDefaultParams defaultParams;
  private Date createTime;
  private long userId;
  private String sourceTag;
  private String sourceRepo;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public long getGroupId() {
    return groupId;
  }

  public void setGroupId(long groupId) {
    this.groupId = groupId;
  }

  public String getGroupName() {
    return groupName;
  }

  public void setGroupName(String groupName) {
    this.groupName = groupName;
  }

  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getPkgType() {
    return pkgType;
  }

  public void setPkgType(String pkgType) {
    this.pkgType = pkgType;
  }

  public String getPkgLang() {
    return pkgLang;
  }

  public void setPkgLang(String pkgLang) {
    this.pkgLang = pkgLang;
  }

  public String getJobType() {
    return jobType;
  }

  public void setJobType(String jobType) {
    this.jobType = jobType;
  }

  public String getCreator() {
    return creator;
  }

  public void setCreator(String creator) {
    this.creator = creator;
  }

  public String getPkgPath() {
    return pkgPath;
  }

  public void setPkgPath(String pkgPath) {
    this.pkgPath = pkgPath;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public PackageParams getParams() {
    return params;
  }

  public void setParams(PackageParams params) {
    this.params = params;
  }

  public PackageOutParams getOutParams() {
    return outParams;
  }

  public void setOutParams(PackageOutParams outParams) {
    this.outParams = outParams;
  }

  public PackageDefaultParams getDefaultParams() {
    return defaultParams;
  }

  public void setDefaultParams(PackageDefaultParams defaultParams) {
    this.defaultParams = defaultParams;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public long getUserId() {
    return userId;
  }

  public void setUserId(long userId) {
    this.userId = userId;
  }

  public String getSourceTag() {
    return sourceTag;
  }

  public void setSourceTag(String sourceTag) {
    this.sourceTag = sourceTag;
  }

  public String getSourceRepo() {
    return sourceRepo;
  }

  public void setSourceRepo(String sourceRepo) {
    this.sourceRepo = sourceRepo;
  }
}
